package com.jumlabs.data.repositories.drive
import java.util.List
import java.io.Serializable
import scala.collection.JavaConversions._
import java.util.ArrayList
import java.lang.Iterable
import com.jumlabs.data.repositories.MyBaseRepository


class FileRepositoryMongoDB[T,ID <: Serializable] extends MyBaseRepository[T,ID] {
  
    
	def findOne(id:ID):T={
	  new Object().asInstanceOf[T];
	}
	
	def delete(id:ID)={
	  
	}
	
	def delete(entity:T)={	 
	  val methods=entity.getClass.getMethods();
	  methods.foreach(println);
	}
	
	def exists(id:ID):java.lang.Boolean={
	  false
	}
	
	def findAll():List[T]={	
	 
	  null
	}
	
	def findAll(iterable:Iterable[ID]):List[T]={
	 
	  null
	}
	
	def  save[S <: T](entity:S):S={
	  new Object().asInstanceOf[S];
	}
	
}